home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / pcboard / cbfree13.zip / CBCFG.SAM < prev    next >
Text File  |  1996-06-08  |  18KB  |  407 lines

  1. 3
  2. PASS;3
  3. 3
  4. E1Q0V1X4M1
  5. 45
  6. 60
  7. 202
  8. 301
  9. 00:00:00;00:00:00
  10. 17:01:00;05:00:00
  11. 0;C:\PCB\CBVMSG.DOC
  12. TRUE
  13. TRUE
  14. FALSE
  15. TRUE
  16. .50
  17. .25
  18. .25
  19. TRUE;FALSE;NMBR =;301;A;TRUE;PRIVATE
  20. ATDT
  21. ,9;,444;D
  22. 1
  23. NOTES
  24. 10
  25. US
  26. TRUE
  27. '┌───────────────────────────────────────────────────────────────┐
  28. '│ This is the main configuration file for the Callback program. │
  29. '│ Each line is explained at the end of the file.  Comments are  │
  30. '│ allowed within this file by starting a line with a (#) or (') │
  31. '│                                                               │
  32. '│ The configuration file MUST CONTAIN 26 CONFIGURATION OPTIONS  │
  33. '│ OR THE PROGRAM WILL NOT RUN!!!!                               │
  34. '└───────────────────────────────────────────────────────────────┘
  35. '
  36. '1 = HIGHEST security level allowed to use the PPE
  37. '
  38. '2 = USER/PASS/BOTH;verification entry tries
  39. '
  40. '    Parm A - USER = Verify by asking for the Username
  41. '             PASS = Verify by asking for the Password
  42. '             BOTH = Verify by asking for the Username and Password
  43. '
  44. '    Parm B - Number of times to allow user to attempt to
  45. '             match verification string(s) (username, password).
  46. '
  47. '3 = Number of tries to call user.  Entries 16, 17, & 18 - subtract from
  48. '                                                          this value until
  49. '                                                          0 is reached
  50. '4 = INIT string for modem
  51. '
  52. '5 = Timeout for Local callback (seconds)
  53. '
  54. '6 = Timeout for Long Distance callback (seconds)
  55. '
  56. '7 = Area Code which is ALWAYS a local call (*NEVER* Long Distance)
  57. '    If area is code entered here the xxxXCHNG.DAT file is not required
  58. '    for this area code.
  59. '    NOTE: Blank line = no area codes are ALWAYS a local call.
  60. '
  61. '8 = When this area code is entered by the user and it is a local call,
  62. '    callback will NOT use the area code as part of the number dialed.
  63. '    For instance:  If 301 was entered here, then any LOCAL CALL to 301
  64. '    would be dialed as XXX-XXXX and not 301-XXX-XXXX.  If you have a blank
  65. '    line here, then all local calls will use the area code as part of the
  66. '    number to dial.
  67. '
  68. '9 = Start time and end time to allow a local callback.  The format for
  69. '    this entry is:  starttime;endtime.  Example:  7:00:00;23:00:00
  70. '    If the current system time is not within the starting and ending
  71. '    time, the file NOCALL will be displayed to the user explaining
  72. '    that we do not do callbacks during this time, and show them the
  73. '    times that we allow callbacks.
  74. '
  75. '    NOTE:  If this line is BLANK, then callbacks will be allowed 24hrs/day
  76. '           to all local callbacks
  77. '
  78. '10= Start time and end time to allow a long distance callback.  The format for
  79. '    this entry is:  starttime;endtime.  Example:  17:00:00;07:00:00
  80. '    If the current system time is not within the starting and ending
  81. '    time, the file NOCALL will be displayed to the user explaining
  82. '    that we do not do callbacks during this time, and show them the
  83. '    times that we allow callbacks.
  84. '
  85. '    NOTE:  If this line is BLANK, then callbacks will be allowed 24hrs/day
  86. '           to all long distance callbacks
  87. '
  88. '    If you have "DISABLED" (no quotes) for this line, all Long Distance
  89. '    callbacks will be blocked (not allowed).
  90. '
  91. '11= Conference number and path/filename of message to be imported when a
  92. '    successful callback is completed.  A blank line DISABLES this function.
  93. '
  94. '    Entry #11 consists of TWO parameter.  Param A is the conference
  95. '    number where you want a message posted when a callback is
  96. '    successful (this message is only sent to the SysOp).  Param B is
  97. '    the full path and filename of the message you wish to IMPORT into
  98. '    the message base for the conference number listed as Parm A.  Here
  99. '    are a couple of examples:
  100. '
  101. '    EX)  0;C:\PCB\CBSUCCES.DOC
  102. '
  103. '    EX)  6;C:\PCB\TEXT\CBMSG.DOC
  104. '
  105. '    In the first example, we will be using CONFERENCE 0 (Main) and
  106. '    will post the message C:\PCB\CBSUCCES.DOC.
  107. '
  108. '    The message will be to  :  SYSOP
  109. '    The message will be from:  CALLBACK PPE
  110. '    The message subject     :  Username who completed Callback
  111. '    The message text        :  (imported from your file CBSUCCES.DOC)
  112. '    The message will be PRIVATE
  113. '
  114. '    And yet another example for you:
  115. '    EX) 0;c:\dan\testmsg.doc  (post to conference "0" - Main)
  116. '
  117. '    I then did a local callback and viewed the message in conference
  118. '    "0" as follows:
  119. '
  120. '   ┌───────────────────────────────────────────────────────────────────┐
  121. '   │ Date: 04-21-96 (08:36)        Number: 3317 of 3317 (Refer# NONE)  │
  122. '   │   To: SYSOP                                                       │
  123. '   │ From: CB-FREE CALLBACK PPE                                        │
  124. '   │ Subj: Dan Shore - Completed Callback                              │
  125. '   │ Read: NO                       Status: RECEIVER ONLY              │
  126. '   │ Conf: Main Board (0)           Read Type: GENERAL (R/O) (+)       │
  127. '   │                                                                   │
  128. '   │ Callback completed.                                               │
  129. '   │                                                                   │
  130. '   └───────────────────────────────────────────────────────────────────┘
  131. '
  132. '    I have a file in the c:\dan directory called TESTMSG.DOC with
  133. '    a single line in it that has:  "Callback completed" (as you
  134. '    can see above in the body of the message).  Note in the
  135. '    subject, the users actual name appears to inform you "who"
  136. '    completed the callback.
  137. '
  138. '12= Set TRUE or FALSE.  TRUE will display the prompt "Use Other Phone
  139. '    Number" when the user is displayed their Data Phone Number and their
  140. '    voice phone numbers from their user record to use as a callback
  141. '    number.
  142. '
  143. '13= TRUE means check area code entered by user against area codes in
  144. '    AREACODE.DAT file.  If area code is not found in AREACODE.DAT, then
  145. '    the user is informed that it is an INVALID area code and exited from
  146. '    the callback process.
  147. '
  148. '    FALSE means DO NOT check for the file AREACODE.DAT
  149. '
  150. '14= TRUE means check exchange entered by user and see if the file
  151. '    "xxxXCHNG.DAT" exists (xxx is the area code entered by the user).
  152. '    IF xxxXCHNG.DAT exists, check the exchange entered by the user
  153. '    to see if it exists in the "xxxXCHNG.DAT" file.  If the exhcange
  154. '    does exist, then the phone call is LOCAL.
  155. '
  156. '    FALSE means do not check for the existance of the "xxxXCHNG.DAT"
  157. '    file and then the user will be prompted for the call being
  158. '    LOCAL or LONG DISTANCE.
  159. '
  160. '    NOTE:  See CB.DOC for further explaination on xxxXCHNG.DAT files
  161. '
  162. '
  163. '15= TRUE means to upgrade user to successful security level if their
  164. '    name and phone number is already in VERIFIED.LOG (user has been
  165. '    verified before).
  166. '
  167. '    FALSE means do not upgrade user, make them go through the callback
  168. '    process again
  169. '
  170. '16= Value to deduct from configuration option line #3 (times to try
  171. '    callback) when a BUSY is encountered
  172. '
  173. '17= Value to deduct from configuration option line #3 (times to try
  174. '    callback) when a NO DIAL (no dialtone) is encountered
  175. '
  176. '18= Value to deduct from configuration option line #3 (times to try
  177. '    callback) when a RING (incoming call) is encountered
  178. '
  179. '19= Caller ID Processing (5 parameters)
  180. '
  181. '    1st parameter = TRUE means to use the CALLER ID information as the
  182. '    users callback number.  If this is FALSE, all other parameters for
  183. '    this feature are ignored.
  184. '
  185. '    The 2nd parameter if TRUE means to automatically upgrade the user
  186. '    if the caller ID information matches one of the entries in the user
  187. '    record.  Otherwise a callback will be performed using the Caller ID
  188. '    phone number.
  189. '
  190. '    The 3rd parameter is the string that starts the phone number in the
  191. '    CID info.  Usually this is NMBR = , but with some modems it is
  192. '    NUMBER:  If you are not sure, look in your PCBoard Callers file
  193. '    for your CID info.  If you are only passing the phone number
  194. '    to PCBoard, then leave this parameter with no value.  Here is an
  195. '    example:  TRUE;TRUE;;301;A;TRUE;PRIVATE
  196. '
  197. '    The 4th parameter is when CID only returns a 7 digits phone number
  198. '    (exchange and last 4).  When this occurs, this areacode is added to
  199. '    the beginning of the CID information.
  200. '
  201. '    The 5th parameter is either an "A" or an "H".  This tell the PPE if
  202. '    the phone number is in "A" = ASCII or "H" = HEX format in the CID.
  203. '    If HEX, the PPE will convert it to an ASCII number when "H" is entered.
  204. '
  205. '    The 6th parameter is either TRUE or FALSE.  This parameter determines
  206. '    if a user who is blocking CID information to be exited from the PPE or
  207. '    allowed to continue the callback.  TRUE = Kick user out of the callback
  208. '    due to the NMBR not containing the actual phone number but matches
  209. '    the string in parameter #7. FALSE = User is blocking CID info, but
  210. '    still let them go through the callback process.
  211. '
  212. '    The 7th parameter is the string to search for to determine if the
  213. '    user is blocking CID information.  Typical strings to search for
  214. '    are:  PRIVATE or BLOCKED.  Check with your local Phone Co. to see what
  215. '    string/phrase is used when a user is blocking their CID info.
  216. '
  217. '    NOTE:  Some local phone companies allow you to stop any calls
  218. '           where a user is blocking caller id.  This is stopped at
  219. '           the central office and never reaches your BBS.  The user
  220. '           will receive a recording informing them of the inability
  221. '           to call the desired number with CID blocked.  Again,
  222. '           check with your local phone company for this option.
  223. '
  224. '    NOTES about CID:
  225. '    ────────────────
  226. '
  227. '    The CB LOG file will show if the CALLER ID information matches an
  228. '    entry in the User Record, along with an entry in the PCB Callers
  229. '    log
  230. '
  231. '    If the 1st parmameter is FALSE, the remaining paramters need not be entered.
  232. '    If the 1st parameter is TRUE, you MUST USE parameters 2, 3, 4, 5, 6, & 7
  233. '
  234. '20= Modem Dial string (set to ATDT for touch tone or ATDP for dial pulse)
  235. '
  236. '21= Three part entry.
  237. '
  238. '     Part 1 = Dialing Prefix
  239. '     Part 2 = Dialing Suffix
  240. '     Part 3 = When to use suffix
  241. '
  242. '    Dialing prefix to add to phone number.  Some places require a number
  243. '    in order to get an "outside" line.  If a number is entered here, it
  244. '    will be added to the BEGINNING of the phone number.  For instance
  245. '    if the number to call was 1-333-444-5555 and you had "9," as the
  246. '    prefix string, the modem would be sent: 9,13334445555.
  247. '
  248. '    NOTE:  If you require a COMMA after the prefix, you MUST have this
  249. '           as part of this entry.
  250. '
  251. '    Dialing suffix to add to phone number.  Some places require a number
  252. '    in order to dial long distance.  If a number is entered here, it
  253. '    will be added to the END of the phone number.  For instance
  254. '    if the number to call was 1-333-444-5555 and you had ",4444" as the
  255. '    suffix string, the modem would be sent: 13334445555,4444
  256. '
  257. '    NOTE:  If you require a COMMA, you MUST have this as part of this
  258. '           entry.
  259. '
  260. '    When to use suffix:
  261. '
  262. '        "A" = All the time,
  263. '        "D" = LD calls only
  264. '        "L" = Local callsonly
  265. '
  266. '    A Blank line means do not add a special dialing strings
  267. '
  268. '22= This is the Long Distance prefix.  This number will be used when
  269. '    making a LD phone call.  Normally in the U.S. you would use "1"
  270. '    as the prefix but in some cases you will want to change this to
  271. '    another number.  If you had "1" for this parameter and you were
  272. '    calling 333-444-5555, the phone number dialed would be 13334445555
  273. '    as the LD prefix would be added to the number.
  274. '
  275. '    The second parameter is REQUIRED when you are using BOTH as an
  276. '    option for parameter #25 (Calling Allowed:  US, INTL, BOTH).
  277. '    The option will be the long distance prefix for INTERNATIONAL
  278. '    callbacks.
  279. '
  280. '    Example:       A;B            1;011
  281. '
  282. '    A = Long distance prefix for Non-International callbacks
  283. '    B = Long distance prefix for International callbacks
  284. '
  285. '
  286. '23= Option to add:  Date, Time, and Phone Number to COMMENT field
  287. '    of NOTES field.  NOTE:  To use the NOTES field, you MUST HAVE
  288. '    the PSA installed!!!  See your PCB manual for instructions on
  289. '    installing the Notes PSA.
  290. '
  291. '    OPTIONS:  COMMENT, COMMENT1, COMMENT2, NOTES, BLANK LINE
  292. '
  293. '    COMMENT
  294. '    ───────
  295. '    The program will FIRST check to see if COMMENT Field #1 is used.
  296. '    If #1 is used, the program will check to see if COMMENT Field #2 is
  297. '    used.  If #2 is used, NO POSTING WILL BE DONE!
  298. '
  299. '    COMMENT1 -or- COMMENT2
  300. '    ──────────────────────
  301. '    If either of these options is chosen, the callback information will
  302. '    be written to the selected COMMENT# field no matter if information
  303. '    was already there or not.  (OVERWRITES PREVIOUS INFORMATION)
  304. '
  305. '    NOTES
  306. '    ─────
  307. '    If this option is chosen, the program will first check to see if the
  308. '    PSA is installed.  If installed, the callback information will be
  309. '    written to the notes field.  NOTE:  The information will only be
  310. '    written to the NOTES fields IF THERE IS ROOM for the callback
  311. '    information (30 characters).  If there is not enough room to write
  312. '    the information (due to other information already there), NO CALLBACK
  313. '    information will be written to the NOTES fields.
  314. '
  315. '    BLANK LINE
  316. '    ──────────
  317. '    Disable this feature.
  318. '
  319. '24= Minimum length of phone number to be valid.  A value of 10 is used
  320. '    when the callback is for the U.S. or areas that use the three part
  321. '    phone number (ac+ex+4)
  322. '
  323. '    An entry of 10 would
  324. '    be used for US dialing: areacode + exchange + last 4  (3+3+4 = 10)
  325. '
  326. '    The program will check for this length, and abort if the length is
  327. '    not equal to this value.  One place the program checks this value
  328. '    is when processing phone numbers from the user record.  If the phone
  329. '    number from the user record is used and the length is not equal to
  330. '    this value the user will be PROMPTED for areacode, exchange, & the
  331. '    last 4 numbers when using U.S. dialing (parameter #25 - see next).
  332. '
  333. '    The SysOp will be alerted in the log if the phone number does not
  334. '    match this length.
  335. '
  336. '    The second parameter is REQUIRED when you are using INTL or BOTH
  337. '    as an option for parameter #25.
  338. '
  339. '    Example:     A;B            10;9
  340. '
  341. '    A = Minimum phone length for US Calling plan Callbacks
  342. '    B = Minimum phone length for INTL Calling plan Callbacks
  343. '
  344. '
  345. '25= Callbacks allowed.  Accepted values:  US, INTL, BOTH
  346. '
  347. '    US     -  Use area code, exchange, last 4 for all
  348. '              callbacks.  International calls are not
  349. '              supported.
  350. '
  351. '              US dialing plan requires a value of 10 in the
  352. '              first configuration option for entry number 24.
  353. '
  354. '  INTL     -  Use Country Code, City Code, and Last Numbers
  355. '              for all callback.  International calls are
  356. '              not supported
  357. '
  358. '  BOTH     -  Perform callback to BOTH area code/exchange/last4
  359. '              and country code/city code/last numbers formats.
  360. '              When the user first enters callback, they will be
  361. '              asked what format their phone number is (PFORM1).
  362. '              They will then be asked if the callback will be
  363. '              and International callback.
  364. '
  365. '              If the callback is INTERNATIONAL, the second long distance
  366. '              prefix parameter (CFG Param #22) will be used.  Also, the
  367. '              second minimum phone number length parameter (CFG parm #24)
  368. '              will be used.
  369. '
  370. '
  371. ' IMPORTANT NOTE!!!!  If you are using INTL or BOTH as the value for this
  372. '                     parameter, you can use a SECOND option on the
  373. '                     configuration line which enables the program to ask
  374. '                     the user if the callback to them requires a leading
  375. '                     ZERO to the phone number.  For instance in the U.K.
  376. '                     a call to an exchange code of 181 is dialed 0181
  377. '                     then the remaining part of the phone number.
  378. '
  379. '                     To enable this option, enter TRUE after the INTL or
  380. '                     BOTH value.   Ex)  INTL;TRUE
  381. '
  382. '                                   Ex)  BOTH;TRUE
  383. '
  384. '                     With it set to TRUE a "0" will be added to the
  385. '                     beginning of the phone number.
  386. '
  387. '                     If there is a better way of dealing with the leading
  388. '                     zero instead of asking the user, please let me know.
  389. '
  390. '
  391. '26= Hangup after a Long Distance Callback verification?
  392. '
  393. '    TRUE  = hangup on the user after a long distance callback
  394. '    FALSE = let user stay on line (you pay for the rest of the call)
  395. '
  396. '    Anything but the word FALSE for this configuration option will
  397. '    cause the program to disconnect after a successful long distance
  398. '    callback.
  399. '
  400. '    WARNING - SETTING THIS OPTON TO FALSE MEANS YOU WILL BE PAYING
  401. '              THE PHONE BILL FOR THE ENTIRE TIME THE USER IS ON YOUR
  402. '              BBS AFTER THE CALLBACK IS COMPLETED!!!!  YOU HAVE TO
  403. '              PAY!!!!! USE THIS FEATURE WITH EXTREME CAUTION!!!!!
  404. '
  405. '    Information will be posted in the LOG file and the CALLERS log IF
  406. '    THE USER IS ALLOWED TO STAY ONLINE AFTER LD CALLBACK.
  407.